package com.google.code.porntube.snap.api;

import java.io.IOException;

import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.google.code.porntube.snap.core.io.Store;

public final class GotSnap extends HttpServlet {

	private static final long serialVersionUID = -6185931751470920847L;
	
	public void doGet(HttpServletRequest req, HttpServletResponse res)
			throws IOException {
		String id = req.getParameter("id");
		Store.remove(id);
	}

}
